/**
 * Created by Abduahad on 2018/3/1.
 */
var app = angular.module('Application',[
    'ui.router',
    'Controller',
    'Direct',
    'Server'
]);
app.config(function($stateProvider, $urlRouterProvider){
    $urlRouterProvider.otherwise("/index");
    $stateProvider
        .state('index', {
            url: '/index',
            views: {
                '': {
                    templateUrl: 'application/Home/View/Charge/main.html',
                },
                'header@index':{
                    templateUrl: 'application/Home/View/Charge/header.html',
                },
                'content@index':{
                    templateUrl: 'application/Home/View/Charge/content.html',
                    controller:'MainCtrl'
                }
            }
        })
})